/*
 * Organ.java
 *
 * Copyright 2012 the original author or authors(ninglong).
 *
 * Licensed under the org.geek.domain, Version 1.0 (the "License");
 *
 */
package org.geek.core.mybatis.domain;

import java.io.Serializable;

/**
 * <p></p>
 * @author ninglong bhd2973@qq.com
 * @version V1.0
 */
public class Organ implements Serializable{

	private static final long serialVersionUID = -4337665747033868997L;
	
	private int organId;
	
	private String organName;
	
	private int parentId;
	
	private transient String parentName;//用于显示

	public String getOrganName() {
		return organName;
	}

	public void setOrganName(String organName) {
		this.organName = organName;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public int getOrganId() {
		return organId;
	}

	public void setOrganId(int organId) {
		this.organId = organId;
	}
}